x86/apic: check maxlvt before accessing certain LVT fields
authorJan Beulich <jbeulich@novell.com>
Wed, 15 Jun 2011 19:24:41 +0000 (20:24 +0100)
committerJan Beulich <jbeulich@novell.com>
Wed, 15 Jun 2011 19:24:41 +0000 (20:24 +0100)
commit1d4a5602fc8829350b9bd8d12870d44c3c342c61
treeacf73fca9043fd816df3da8bc60ac5c828ff6941
parented6229185f3a47d14e35d8f767aab0d01f7ffcaa
x86/apic: check maxlvt before accessing certain LVT fields

This follows Linux, including in not checking maxlvt for certain
accesses to APIC_LVTERR.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/apic.c